using System;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using System.ComponentModel.DataAnnotations;

namespace Business.Models
{
    /// <summary>
    /// 采购计划表
    /// </summary>
    public class Purchase: AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        public Guid? TenantId { get; set; }
        
        /// <summary>
        /// 采购单价
        /// </summary>
        [Required]
        public string PurchaseUnitprice { get; set; }
        
        /// <summary>
        ///  采购总额
        /// </summary>
        [Required]
        public string ProcurementTotal { get; set; }
        
        /// <summary>
        /// 采购运费
        /// </summary>
        [Required]
        public string ProcurementFreight { get; set; }
        
        /// <summary>
        /// 采购人员
        /// </summary>
        [Required]
        public string PurchasingStaff { get; set; }
        
        /// <summary>
        ///  采购状态
        /// </summary>
        [Required]
        public string ProcurementStatus { get; set; }
        
        /// <summary>
        ///  规格型号
        /// </summary>
        [Required]
        public string SpecificationModel { get; set; }
        
        /// <summary>
        /// 采购数量
        /// </summary>
        [Required]
        public string QuantityPurchased { get; set; }
        
        /// <summary>
        /// 预付金额
        /// </summary>
        [Required]
        public string PrepaymentAmount { get; set; }
        
        /// <summary>
        /// 品牌
        /// </summary>
        [Required]
        public string Brand { get; set; }
        
        /// <summary>
        /// 图片
        /// </summary>
        [Required]
        public string Image { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        [Required]
        public string Remark { get; set; }
        
        /// <summary>
        /// 采购单号
        /// </summary>
        [Required]
        public string PurchaseOrdernumber { get; set; }
        
        /// <summary>
        /// 折后单价
        /// </summary>
        [Required]
        public string AfterFoldingprice { get; set; }
        
        /// <summary>
        /// 其他运费
        /// </summary>
        [Required]
        public string OtherFreight { get; set; }
        
        /// <summary>
        /// 生产日期
        /// </summary>
        [Required]
        public string DateOfmanufacture { get; set; }
        
        /// <summary>
        /// 供应商
        /// </summary>
        [Required]
        public string VendorID { get; set; }
        
        /// <summary>
        /// 商品 ID
        /// </summary>
        [Required]
        public string GoodID { get; set; }
        
        /// <summary>
        /// 商品名称
        /// </summary>
        [Required]
        public string GoodName { get; set; }
        
        /// <summary>
        /// 采购日期
        /// </summary>
        [Required]
        public string DateOfpurchase { get; set; }
        
        /// <summary>
        /// 预计到货日期
        /// </summary>
        [Required]
        public string EstimatedArrivaldate { get; set; }
        
        /// <summary>
        /// 仓库 ID
        /// </summary>
        [Required]
        public string WarehouseId { get; set; }
        
        /// <summary>
        /// 过期日期
        /// </summary>
        [Required]
        public string ExpirationDate { get; set; }
        
        /// <summary>
        /// 折扣率
        /// </summary>
        [Required]
        public string DiscountedRate { get; set; }
        
        /// <summary>
        /// 库区 ID
        /// </summary>
        [Required]
        public string ReservoirId { get; set; }
        
        /// <summary>
        /// 库位 ID
        /// </summary>
        [Required]
        public string WarehouselocationId { get; set; }
        
        /// <summary>
        ///  区域 ID
        /// </summary>
        [Required]
        public string RegionId { get; set; }
        
		
		public bool IsDeleted { get; set; }
    }
}